<template>
  <div class="commhead">
    <router-link tag="i" to="/mine" class="iconfont icon-xiangzuo">
    </router-link>
    {{title}}
  </div>
</template>

<script>
    export default {
        name: 'MyComponent',
        props:{
           title:{
        		type:String,
        		default:''
           }
        }
    }
</script>

<style scoped>
.commhead{
	width: 100%;
	height: 1rem;
	background-color: #F9FAFD;
	line-height: 1rem;
	font-weight: bold;
	text-align: center;
	padding-right: 0.5rem;
}
.commhead i {
	font-size: 0.5rem;
	display: inline-block;
	float: left;
}
</style>